
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import plugins from './plugins'// 引入Bootstrap CSS
import 'bootstrap/dist/css/bootstrap.min.css'
// 引入Bootstrap JS（bundle版本）
import 'bootstrap/dist/js/bootstrap.bundle.min.js'
import * as echarts from 'echarts'
import vueEchart from 'vue-echarts'
import '@/assets/index.css'

const app = createApp(App)
app.use(ElementPlus, { size: 'default', zIndex: 3000 })
app.use(router)
app.use(createPinia())
app.use(plugins)
app.mount('#app')
app.component('v-chart',vueEchart)